It always depends on the conditions of the purchase. When I lived with roommates, we always had a communal agreement that beer in the fridge was for everyone unless explicitly designated otherwise. If someone took the last beer, that person went on a beer run. I guess it works if you trust the people you live with, otherwise it fails miserably.