After braces doc said I only need to wear retainers at least 8 hours a day?

This is a good surprise as I was expecting full time wearing. This means I can wear it while I sleep right? Anyone did the same?