(1)who is present for at least 183 days during the taxable year in Guam, American Samoa, the Northern Mariana Islands, Puerto Rico, or the Virgin Islands, as the case may be, and

(2)who does not have a tax home (determined under the principles of section
911(d)(3) without regard to the second sentence thereof) outside such specified possession during the taxable year and does not have a closer connection (determined under the principles of section
7701(b)(3)(B)(ii)) to the United States or a foreign country than to such specified possession.

For purposes of paragraph (1), the determination as to whether a person is present for any day shall be made under the principles of section
7701(b).

(b) Source rules

Except as provided in regulations, for purposes of this title—

(1)except as provided in paragraph (2), rules similar to the rules for determining whether income is income from sources within the United States or is effectively connected with the conduct of a trade or business within the United States shall apply for purposes of determining whether income is from sources within a possession specified in subsection (a)(1) or effectively connected with the conduct of a trade or business within any such possession, and

(2)any income treated as income from sources within the United States or as effectively connected with the conduct of a trade or business within the United States shall not be treated as income from sources within any such possession or as effectively connected with the conduct of a trade or business within any such possession.

(c) Reporting requirement

(1) In general

If, for any taxable year, an individual takes the position for United States income tax reporting purposes that the individual became, or ceases to be, a bona fide resident of a possession specified in subsection (a)(1), such individual shall file with the Secretary, at such time and in such manner as the Secretary may prescribe, notice of such position.

(2) Transition rule

If, for any of an individual’s 3 taxable years ending before the individual’s first taxable year ending after the date of the enactment of this subsection, the individual took a position described in paragraph (1), the individual shall file with the Secretary, at such time and in such manner as the Secretary may prescribe, notice of such position.

“(1) In general.—Except as otherwise provided in this subsection, the amendments made by this section [enacting this section and amending sections
931,
932,
934,
935,
957, and
6688 of this title] shall apply to taxable years ending after the date of the enactment of this Act [Oct. 22, 2004].

“(2) 183-day rule.—Section 937(a)(1) of the Internal Revenue Code of 1986 (as added by this section) shall apply to taxable years beginning after the date of the enactment of this Act.

“(3) Sourcing.—Section 937(b)(2) of such Code (as so added) shall apply to income earned after the date of the enactment of this Act.”