Isn’t it always fun to ask partners in a law firm why they belong to a partnership? Why not alone? Why this partnership?
A common answer is cost sharing.
As long as you share the costs of a copy machine, of a subscription to legal periodicals, and the salary of a receptionist, or similar items, no problem. You are indeed sharing costs.