But yes and no I think is a good answer to that.
Cognition I think is embodied. So each would have cognition tied to and with the body within the environment it finds itself in a relationship.
Would I be both? No. I would be one of them. It probably wouldn’t matter which one.
Whether it’s considered murder is tricky. I’d go with whatever the standards were, although I’d prefer a no-kill situation if possible.