Egress lighting (exit & emerg. ltg) are to be connected to the local lighting circuit serving the area, ahead of all switches.

In plain words, the corrodor and/or stairwell lighting circuit.

Your local area may have other requirements, based on the classification of the structure. It's best to check with your local AHJ, Building, Electrical and/or Fire.


John