Yes, sperm can survive in your body for up to 5 days whether you are menstruating or not. And the period blood can't flush away sperm. Please always use a contraceptive method to avoid unplanned pregnancies.