Exercising vigorously right before bed or within about three hours of your bedtime can actually make it harder to fall asleep. This surprises many people; it's often thought that a good workout before bed helps you feel more tired.his lower body temperature is what helps you sleep better. So if you exercise five to six hours before going to bed, you will be attempting to sleep at the same time your temperature is beginning to go down.