There will not be a problem in using a detector in this location, provided it is within the maximum 30 metre range from the control panel.

It is recommended to use a door magnetic contact in this application, however, rather than a PIR in order to prevent false alarms from insects and rodents.