Source: https://money.stackexchange.com/questions/83748/is-it-possible-to-claim-the-bona-fide-residence-test-for-part-of-the-year