One who slept during the night at least half an hour but not on a bed, e.g. they put their head down on a shtender or on the plane in a sitting position, then, if they slept a good sleep they should wash with a bracha. However, it is preferable to use the restroom before davening and then wash with reciting a bracha. Similarly, one who sleeps during the day for at least half an hour should wash their hands, but they should not recite the bracha of al netilas yadayim.