How long does sperm last inside a woman?

Ive heard up to 5days is this correct?