NYC Administrative Code § 27-244 Location restrictions
No space classified in the high hazard occupancy group shall be located above the second story of any building or building section classified in construction group II containing a space classified in occupancy group J-1 or J-2.