what is a lawyer’s role in a divorce?