I think it's all about balancing the advantages and disadvantages.
I have a 1.5 hour (total) commute. That's almost a full workday every week spent in my car and it really adds up. Not only is there expense as far as fuel, there's time away from my studies (and when you're getting ready for board exams, every hour counts) time away from my wife and dog, time away from hobbies, or even time I could be spending on research projects. Needless to say I have a high motivation to change those circumstances.
Living in residence has a number of advantages:
- you make more friends
- your classmates are close when you want to work on assignments together
- freedom from parents
It also has disadvantages:
- higher cost
- party animal roommates or floormates
- if you've never been in a student residence, visit one and take a deep breath, decide if you can live with the smell
- you can't eat mom's food
- you generally need more self-discipline to do well