Both died in the ocean. My thoughts would be, they would come back as a part of Shinobi alliance, after the war is ended and the Shinobi Alliance won, they can peacefully die, (buried in the heroes cemetery).

What do you guys think?