I would hazard a guess to say that any aerosol chemical could be harmful. If it says that it is toxic to dogs and cats on the can, then assume it's worse for a snake. I'd open and vent the room, maybe move him to a different room until the smell clears