Yes, the headlight switch in the car. That's the only area where both headlights get power. I doubt both headlights would go bad at the same time, so the common factor would be the headlight switch.
Pelican has a write up under "headlight switch replacement".