When we fly with only 2 pilots, we are allowed to take controlled rest if we really feel the need to. One pilot then sleeps for a short while in the pilot seat, while the other pilot takes control of the flight and communication. And if we fly with more than 2 pilots we have time to rest in the bunk.