A transfer does not live in the district. Employees of the district will almost always be granted a residency waiver. In small schools, coaches with kids who can help are sometimes prioritized over their actual coaching ability. Nothing illegal about it.