I'd say it's very important in the sense that you're going to have to spend at least one year of your life there. It can be hard to keep yourself self-motivated throughout the year if you're not used to so much independence already, and if you're waking up in a place that is really depressing, it'll only make it worse and could negatively affect your ability to do well in the year.
If literally everything else is pretty much equal for you, I'd say definitely go for the one with the better accommodation.