What is legal age to leave home in Ill?

you can get parent permision at 16, but you can leave when you want at 18