Cords more swollen
When you sleep
your vocal cords get a little more swollen (like your ankles might at the end of a long day standing on your feet).
Because they are thicker they vibrate at a lower rate hence you have a lower voice. Sitting up and standing the cords shrink down a little and your voice gets a bit higher.