How long does sperm live inside a woman after intercourse??

TTC want to know how long sperm can live inside of a woman after intercource??