There are few conditions to be satisfied. Foreign Exchange Management Act contains certain regulations under which a Foreign Portfolio investor shall be allowed to invest in shares and Mutual funds subject to certain conditions.
However, while he is a resident of India, he can invest in shares and there is no conditions