In the National Electical Code...
Article 406.6 (B) Connection of Attachment Plugs:
Attachment plugs shall be installed so that their prongs, blades, or pins are not
energized unless inserted into an energized receptacle or cord connectors. No
receptacle shall be installed so as to require the insertion of an energized attachment
plug as its source of supply.