Curious

Can you get pregnant if he cums inside of you on your 5th day/last day of your period?

We don’t mind having a kid.. actually would love one but I just wondered if it were to happen.