Ideally, your parents will make the decisions together about who you will live with and how that will work. Your opinion should be taken into account.
If they can't decide themselves, they might go to a mediator for help in reaching an agreement. Or they might have to go to court and have a judge make the decisions for them.