Astronauts often suffer from sleep deprivation during space flight and in the months leading up to a mission, a new study finds.