Yes. The location of your employer isn’t important to the IRS. Instead, the IRS cares about where you are while earning your income to determine whether you qualify for the FHE. You just need to pass the Bona Fide Residence Test or the Physical Presence Test (discussed earlier in the article).