There are different options on where to live, if you come to work or study in Denmark. If you are going to study, it is most common to live in student halls. Danish colleges and universities do not have on-campus housing. It is however, not very easy to find a room, especially in the larger cities like Copenhagen and Aarhus.
Other options are apartments. You can live by your own or you can share an apartment with other young people. This makes the rent cheaper, so it is quite popular.