You can't pool points from two different member accounts for a single reservation.
You can either have your friend transfer points into your account (or vice-versa), or you can each make a reservation for part of the trip, and have member services link the reservations so you (hopefully) wouldn't have to move. Using that method, though, you would have to check out and check in again partway through your trip.