The exemption under section 54EC can be claimed by a non-resident provided the land or building is situated in India.