You should not work out for at least two hours before going to bed, unless you count restorative yoga and breathing exercises as exercise, says David Asprey, founder and CEO of Bulletproof. Exercising in general, however, definitely helps sleep. people who get their sweat on at any time of day report sleeping better and feeling more rested than those who don't exercise.