Maybe he goes into a medically induced hibernation type sleep that makes it ok for him to be sitting up. Or perhaps he just retreats into a bacta tank every night.
I quite like the theory that the suit gives him the energy to never sleep. That’s kind of badass.