The Electrical Safety Foundation International warns against leaving your space heater on unattended. According to the organization, heaters are the 2nd leading cause of accidental fires in US homes.
But that’s a risk you can avoid by ensuring that you always disconnect the power when leaving the room.