Can a 17-year-old legally make their own decision of whether to drop out or to remain in school?

Depends on the state.