Quarters is one of your ship's stats and defines the number of Zailors - your Crew - that your ship can accommodate.
Most monsters aim for your crew when attacking so the higher your Quarters stat, the higher can be your crew and, therefore, your survival.