Do I understand that you want a light to go on when either, or both, of two garage doors openers is activated?
First question: do the garage doors have an output to an external light? Assuming they do, the answer depends on how that output is configured, and how the openers are wired. In the best case, if the outputs are electrically isolated, and the two openers are on the same leg of the electrical service, you can just run a wire from both outputs to the light, either one will light the light and having one on when the other is off or having both on at the same time. You can determine this using a voltmeter.
If the two openers are not on the same leg, when both are on the voltage of one will be the negative of the other, and the difference between them will be twice your line voltage (ie 220V). You can test this by turning both on and measuring the voltage between them with a voltmeter, if it is anything other than zero you have a problem. You might be able to solve this by having an electrician move one to a different leg.
If the opener outputs are not electrically isolated, when one is on and the other is off electricity will flow from the one that is on to the one that is off. You can test this by turning one on and the other off, and measuring the voltage. If it's anything other than zero you have a problem.
In summary: measure the voltage between the two outputs using a voltmeter in every possible configuration: both off, each one on with the other off, both on. If it is anything other than zero in any configuration, you have a problem. If it is always zero you can just connect the two outputs together and to the light.
If the simple connection isn't possible, there are other ways to do it but it requires using relays. We can cover that in another posting if necessary.