How to determine the residential status of a HUF for the purpose of the Income-tax Law?
To determine the residential status of a HUF, the first step is to ascertain whether the HUF is resident or a non-resident. If the HUF turns to be a resident, then the next step is to ascertain whether it is resident and ordinarily resident or is resident but not ordinarily resident.

Step 1 given below will ascertain whether the HUF is resident or non-resident and step 2 will ascertain whether the HUF is ordinarily resident or not ordinarily resident. Step 2 is to be performed only if the HUF turns to be a resident.

Step 1: Determining whether resident or non-resident

For the purpose of Income-tax Law, a HUF will be treated as resident in India, if the control and management of the affairs of the HUF is located (partly or wholly) in India.

Step 2: Determining whether resident and ordinarily resident or resident but not ordinarily resident

A resident HUF will be treated as resident and ordinarily resident in India during the year if its manager (i.e. karta or manager) satisfies both the following conditions :

(1) He is resident in India for at least 2 years out of 10 years immediately preceding the relevant year.

(2) His stay in India is for 730 days or more during 7 years immediately preceding the relevant year.

A resident HUF whose manager (i.e. karta or manager) does not satisfy any of the aforesaid conditions or satisfies only one of the aforesaid conditions will be treated as resident but not ordinarily resident.

In short, following test will determine the residential status of a HUF :

If the control and management of the affairs of the HUF is located (partly or wholly) in India and the manager (i.e. karta or manager) satisfies both the conditions specified at step 2, then the HUF will become resident and ordinarily resident in India.
If the control and management of the affairs of the HUF is located (partly or wholly) in India and the manager (i.e. karta or manager) satisfies none or only one condition specified at step 2, then the HUF will become resident but not ordinarily resident in India.
If the control and management of the affairs of the HUF is located wholly outside India, then the HUF will become non-resident.