This isn't true for all Universities - and for those where it's still an outdated requirement, we should push to change this. Student housing is a rip-off.
What's happening is the converse - more and more universities are instituting this requirement. After all, the fancy dorms they built aren't going to pay for themselves, if they don't get a captive tenant base.