It depends on ovulation. If it has already taken place, fertilization usually takes place within 24 hours before the introduction of sperm into the body, regardless of whether it has been done via natural conception or intrauterine insemination (IUI).
Related post: Artificial Insemination (AI): Process, Cost & Types.