Dear Sir,
If a person resides in India for more than 182 days in India, he will be treated as resident in India and his entire global salary will be taxable in India.
Further, even if he is non resident in India, salary accrues in India will be taxable in India, irrespective of its residential status.
Salary may also be taxable in foreign country subject to the taxation rules of that country.
However, if there is DTAA between both the countries, double taxation cam be avoided as per the method mentioned in DTAA.
Thanks and Regards
CA Abhishek Dugar