Sperm life

Fendi
Happy New Year!!!! So in school I learn that sperm can live in the vagina for up to 7days. Is that true and if not what's the truth ?