The correct answer is D. 183 days.
FEMA (Foreign Exchange Management Act) provides that a person becomes a resident if he stays in India for 183 days or more in the previous year. This means that if a person stays in India for more than 182 days in a calendar year, he will be considered a resident for the purposes of FEMA.
There are two types of residents under FEMA: resident Indian and resident foreigner. A resident Indian is a person who has been a citizen of India at any time on or after 1st January, 1962, and who has been ordinarily resident in India during the previous year. A resident foreigner is a person who is not a resident Indian.
The consequences of being a resident under FEMA are that a person is subject to all the provisions of FEMA, including the requirement to obtain a resident Indian/foreigner registration number (DIN/FRN) and to file annual returns.
A person who is not a resident under FEMA is not subject to all the provisions of FEMA. However, he may still be required to obtain a DIN/FRN if he is carrying on business in India or if he is holding assets in India.
I hope this answers your question. Let me know if you have any other questions.