It should always be connected to the live wire to ensure that no electricity runs through the appliance when the switch is off. If it is connected to the neutral wire, the circuit is constantly active even when it is off.