If you are completely alone and there is no possibility of any one else to see you (apart from your spouse) during your sleep and when you wake up till you get dressed, then it is Makrouh (disliked) to sleep naked. It becomes forbidden (Haraam) in case any one can see you.
It is not Makrouh if it is between husband and his wife.
Wassalam.