Not necessarily. However, it might be helpful - depending on the kind of lawyers you use - particularly if the issues involved are complex or emotive. If your lawyers are the kind that focus tenaciously on maintaining your strict legal 'rights', you should perhaps leave them out of the mediation process. If they focus on your wider interests, they will probably be useful.