Try closing your doors properly
But on a serious note, there is probably a problem with the plunger, that switches the interior lights on/off. Try putting a few layers of duct tape on the door, where it pushes in the plunger. Do each door separately, and you might find out which door is doing it. When you have found out which door it is, you can adjust things to stop this happening.
Your doors do line up with the bodywork dont they?