Yes, having a residence permit is part of the eligibility criteria.