Under normal circumstances, you must have a teacher's qualification certificate, and there is no house or the living area is less than the per capita area.
Each city has clear regulations on the requirements for occupancy, but they are not exactly the same. You can consult the relevant local departments.