If you are going to go to university in this Swedish municipality, you should live there, since this way you will save time and money on transport. However, you will also be able to reach Stockholm in a short time (approximately 15 minutes by public transport) when you have some free time and want to explore the city.