Yes, a person resident outside India i.e. i) a NRI ii) a PIO/OCI -and iii) a Foreign national of non-Indian origin can inherit and hold immovable property in India from a person who was resident in India.