That's how water recycling works on the ISS, and it's not specific to those two astronauts. Pretty similar to how water recycling works down on Earth too.
Also, the Crew-9 capsule launched with two empty seats, so they aren't even stranded anymore.
If we want to be pedantic, it's how it works IRL too. All the water on Earth has been here for an eternity, with all its piss, feces, cadavers and whatnot inside of it. Completely fine if properly reprocessed.
If you want to be really pedantic, water is created and destroyed all the time, it's just a relatively stable process. Water is destroyed in the upper atmosphere and by lightning, and is created in volcanic eruptions and combustion. (Among many other ways)
Good point. Starliner was always the plan in the event of an emergency evacuation, and there was also "lie on the floor of the Crew-8 Dragon" as a backup for the brief period between empty the Starliner return and the launch of Crew-9.