In the legislation as of two months ago, ex-pats were excluded, haven't kept up since. More problematic will be the test or definition for those outside the US, most of the the year, without a permanent visa.
Is that 6 months+a day, 9 months, 330 days (similar to the earned foreign income...