Crew Quarters
Crew Quarters are set up around watchstanding procedures: First Watch crew bunk together, and so on. There are enough bunks for individual crew members to each have their own "permanent" bunk. Each bunk is equipped with a thumbprint reader lock (which can be over-ridden by ship security or superior officer with that officer's voice command and thumbprint.
Read more on Mass Allotment procedures.
All three crews share the same shower / head facilities and there are no exclusion areas for gender: privacy just doesn't happen for crew on a Navy ship.