Please note that Section 6(6) provides that in the above scenario, you will be a resident but not ordinarily resident and a not ordinary resident is not required to pay tax on foreign sources income.
The relevant section has been reproduced below and relevant portion is highlighted in bold.
(6) A person is said to be "not ordinarily resident" in India in any previous year if such person is—
(a) an individual who has been a non-resident in India in nine out of the ten previous years preceding that year, or has during the seven previous years preceding that year been in India for a period of, or periods amounting in all to, seven hundred and twenty-nine days or less; or
(b) a Hindu undivided family whose manager has been a non-resident in India in nine out of the ten previous years preceding that year, or has during the seven previous years preceding that year been in India for a period of, or periods amounting in all to, seven hundred and twenty-nine days or less 7[; or
(c) a citizen of India, or a person of Indian origin, having total income, other than the income from foreign sources, exceeding fifteen lakh rupees during the previous year, as referred to in clause (b) of Explanation 1 to clause (1), who has been in India for a period or periods amounting in all to one hundred and twenty days or more but less than one hundred and eighty-two days; or
(d) a citizen of India who is deemed to be resident in India under clause (1A).
Explanation.—For the purposes of this section, the expression "income from foreign sources" means income which accrues or arises outside India (except income derived from a business controlled in or a profession set up in India) 7a[and which is not deemed to accrue or arise in India]].