Can a 22 year old student be claimed on there parents taxes even if the do not live at home and live in another town permanently?

Student also made over $8,000 for 2017