There's no way to really actually divorce your parents since getting divorced is for married couples.
For a child to leave their parents legally before age 18 they would have to get emancipated and a child can get emancipated at age 16 in most states.