Normal walls allow heat to be transmitted through them. Thus, if you have either a heater or a cooler on, there is a chance that, along with conditioning the air in your apartment, you will be heating/cooling your neighbor's apartment as well. This, apart from burning a hole in your pocket, would be an unnecessary waste of energy.