It depends on the regulations of your apartment complex and local laws. Check with your apartment management or local fire department to determine if it is allowed.