For portable electric heaters, Section 605.10 of the 2006 International Fire Code has extensive requirements.
If it's a permanent heater, it has to be installed in accordance with its listing, the manufacturer's instructions and the National Electrical Code. See Section 603.5.2 of the 2006 IFC.