Days of performance of labor or services within the United States for the employer.
_______________________________
Total days of performance of labor or services for the employer.
The days of performance of labor or services within the United States shall not include the time period for which the employee's compensation is deemed not to be income from sources within the United States under subtitle A of the Code. Thus, for example, if an employee's compensation was not deemed to be income from sources within the United States under section 861(a)(3), then the time the emloyee was present in the United States while such compensation was earned would not be included in determining the days of performance of labor or services within the United States in the numerator of the above fraction. In addition, days of performance of labor or services for the employer in both the numerator and denominator of the above fraction are limited to days of plan participation by the employee and any service used for determining an employee's accrued benefit under the plan. The remaining portion of the distribution, that is, any amount other than the portion of the distribution considered to be a return of employer contributions, is not to be treated as income from sources within the United States. For example, if a distribution consists of amounts representing employer contributions, employee contributions, and earnings on employer and employee contributions, no part of the portion of the distribution attributable to employee contributions, or earnings on employer and employee contributions, will be treated as income from sources within the United States.
26 C.F.R. §1.401(a)-50