Naturally, only one pilot can be in command of a single crew aircraft at any one given moment, so gmac has it spot on.
The value to flying with a buddy probably occurs when you both want to practice upper air work/general handling and by flying together you each pay only half the time/cost of getting the aircraft to and back from the place where your practice can take place.
Hope that helps.