Only Texas has that law, but with significant restrictions. In all other states, it's a case by case basis, with the Judge interpreting the maturity of the child, and their intent, but this still does not override other evidence in the child's best interest. It's just a piece of the evidence.
see links below for additional info
In West Virginia, a child can decide which parent they want to live with when they are 18.
No, a child can not decide this until they are 18.
They have to be 18.
When they are 18.
As long as you are a minor you can not decide legally where to live.
16
When they are 18.
He has to be 18.
You have to be 18.
No. The court will decide.
When they are 18.
Usually, a 12 year old is accompanied by a parent or guardian so usually the child cannot pick his/her location in the state of Wisconsin, or any other state or country.