It's not the cleric's soul or personality that flows to the other character - the cleric has to make a sacrifice to their god for helping someone who's nominally against their pantheon. As punishment, not as a gift. They give of themselves, of their experience and abilities, but it's not conveyed to the resurrectee.