Why is my fertil window so long?

My mom told me that people can get pregnant for only 24 hours because that’s when the egg dies. Me and my boyfriend don’t have sex when I’m ovulating or on my period but I hate not being able to have sex for most of the month.