Apprentices need to be legally employed in the UK and normally resident in the EU for at least three years. See Government guidance.