Oil light comes on when there's no oil pressure. Engine not running, no oil pressure.
If the light comes on when you have the engine running then you have a problem. It will light up before you start the car to indicate that the bulb is working so you will be alerted if you have the problem while driving. Same goes for the ECU and EPS lights.