Based on the 1951 Convention on Refugees, anyone who has a well-founded fear of persecution can claim asylum in the UK, be that based on their race, religion, nationality, sexuality or other reason. They must be in the UK to do so.