If you want to have some extra crew quarters on your ship (for example a carrier needs some), you need to check the Keep Excess Q box on Class Design Window.
You can only remove crew quarters that are surplus, you cannot get below required minimum that is needed to accommodate crew.