garage door security sensor?

Could I use this as a garage door security sensor? The link goes to how to monitor a gate but I like the idea that the contacts could be farther apart.

Overhead garage door contact

(this is using the 2GIG DW10, for Qolsys, you would simply use the RE101)

This is what you would want to use. Same principle.

Thanks, that makes more sense.