It depends on the plane, but usually crew rest areas are hidden behind the cockpit, above first class, like on this Boeing 777.