How long does sperm live?

I've heard 3-5 days but I've also heard a week