How long can sperm live inside of you?

Es
Ive heard and also read that sperm can live up to 7 days inside the female's reproductive system. I've also heard and read that sperm can live up to 5. And I've also heard and read that sperm can live up to 3 days inside a female's reproductive system. I don't know which one to believe and trust. Do any of y'all know the REAL and actual number of days sperm can live up to in the female's reproduction system after ejaculation?? Help please? /: