Sperm usually die inside the vagina within less than an hour but they can survive inside the uterus for up to 5 days.
Whether or not spermatozoa, or sperm, can survive depends on the conditions under which they are being held.
After ejaculation sperm can live in the vagina for up to two hours, but
most die in the vagina within minutes after ejaculation. Once they move
through the cervix into the uterus, they can survive longer, up to 5
days.