Hi, and welcome to the forums :-)
This depends on how the interior light, and the headlights, are controlled.
In a traditional setup, the headlights and the interior light are both activated by a positive voltage from the electrical system. This voltage is switched either by switches (i.e. the...