Doctors explain why it's an important factor in getting the rest you need.