The door ajar light will come on whenever a door is opened, regardless of the ignition position.
If the key is in the ignition while the driver's door is open, a warning chime sounds.