Only if you can’t come to an agreement- less than 5% family law cases go to trial. Talk to your family law lawyer to discuss other workable out-of-court options. This option should suit the specificity of your case. There are a lot of other options you can get. Collaborative practice and mediation are some of such options.