Rules of professional conduct prevent solicitors from acting for both parties. It is entirely a matter for your spouse as to whether they obtain legal advice, but generally speaking, it is best if they do (even if only for a free initial interview with another solicitor) so at the very least they know where they stand.