This phrase may be missing a comma, perhaps a few ellipsis, but it is still understood. It means that "everything must be shared equally and without privileges." The comparison is that if they do not all fit to sleep in a bed, then it is only fair that everyone sleeps on the floor.
* Only one "like" per meaning and day, the more "likes" the meaning will appear higher in the list