As long as you are of legal drinking age, you can drink in your apartment. Drinking alcohol may not be allowed in certain communal areas, keep an eye out for posters in the residence.