1. Short title This Act may be cited as the Preserving Teacher Loan Forgiveness for Military Spouses Act of 2017 . 2. Continuing eligibility to participate in student loan forgiveness or loan cancellation program for teachers whose period of consecutive employment is interrupted because of military orders requiring spouse to relocate to new residence (a) Continuing Eligibility (1) Part B Loans Section 428J(g) of the Higher Education Act of 1965 ( 20 U.S.C. 1078–10(g) ) is amended by adding at the end the following new paragraph: (4) Continuing eligibility for certain military spouses (A) In general Notwithstanding paragraph (1) of subsection (b), an individual who is employed as a full-time teacher for 5 complete years which are not consecutive years may be eligible for loan forgiveness pursuant to such subsection if the individual was a qualified military spouse with respect to any year during which the individual was not employed as a full-time teacher. (B) Qualified military spouse defined In this paragraph, the term qualified military spouse means, with respect to a year, an individual who— (i) during the previous year, served as a teacher in a school or location meeting the requirements of subparagraph (A) of subsection (b)(1) and met the requirements of subparagraph (B) of subsection (b)(1); (ii) is the spouse of a member of the Armed Forces who is relocated during the year pursuant to military orders for a permanent change of duty station; (iii) did not serve as a teacher in a school or location meeting the requirements of subparagraph (A) of subsection (b)(1) during the year or any portion of the year because the individual accompanied the spouse to a new residence as a result of such military orders