According to the Federal Student Aid Office, qualifying employment for the PSLF Program is not about the specific job that you do for your employer. Rather, it is about who your employer is. Employment with the following types of organizations qualifies for PSLF:
- Government organizations at any level (federal, state, local, or tribal)
- Not-for-profit organizations that are tax-exempt under Section 501(c)(3) of the Internal Revenue Code
- Other types of not-for-profit organizations that are not tax-exempt under Section 501(c)(3) of the Internal Revenue Code, if their primary purpose is to provide certain types of qualifying public services
Serving as a full-time AmeriCorps or Peace Corps volunteer also counts as qualifying employment for the PSLF Program.
If the employer is a US-based non-profit, that should count even if you're actually doing that work abroad. However, a foreign government employer will not count towards PSLF.