A single residential unit is allowed as an accessory use to any nonresidential use in any zoning district and is not required to be included in the gross residential density calculations. For such use, the following shall apply: a. Where there is a principal building, such use may be attached or detached from the principal building. b. An attached caretaker dwelling unit shall meet the setback standards for the principal building. c. A parcel shall not have an accessory dwelling unit and caretaker dwelling unit.