A district or county superintendent is entitled to reimbursement pursuant to Education Code Sections 42904 and 42905 with respect to any pupil served who resides in either:
(a) A regularly established licensed children's institution,
(b) A hospital operated by a county,
(c) A nonprofit tax-exempt hospital or other nonprofit tax-exempt treatment facility,
(d) An institution,
(e) A foster or family home only if pursuant to a commitment or placement under Chapter 2 (commencing with Section 200, of Part I of Division 2 of the Welfare and Institutions Code.
(f) A home which legally qualifies as an established licensed children's institution.
Reimbursement shall not be denied on account of any pupil solely because his or her prior residence was in the same school district in which the institution, hospital, facility or home, in which he or she presently resides, is located.