I don't think there is an exact time frame. I would think 48 hours would be plenty of time.
New sperm are produced continually and the excessive heat will not kill them all, just most of them, so litter size will be affected. You can try breeding but dont expect stellar results until the old sperm has been removed (either absorbed or released) and replaced by new ones a few days later.