The answer to whether it is better to sleep for two hours or not at all is… neither. Staying awake all night poses health risks in the long and short term. Not sleeping at all can be risky if you have a difficult or manual job, drive, or work in healthcare.