What is the meaning of [one hour’s sleep before midnight is worth two after]

Those who go to bed early have a more refreshing night’s sleep than those who rise late in the morning