In a vacuum my view is that you should live as close to the university as you can, certainly within walking distance or a short public transport journey if possible. It just makes the whole experience more accessible and enjoyable for a range of reasons, none of which necessarily include alcohol. Ultimately, though, this is all personal choice, and depends on your personal circumstances as well as those of your boyfriend. If there's a particular reason why he needs to live there, or living there is a compromise between your needs and his, then living there makes more sense. But solely for the purposes of university life, I would live closer if you can.