No. You cannot use Prestidigitation to desalinate saltwater into freshwater or remove toxins from water to make it drinkable. You can of course disguise the flavour or change the temperature of the water, but it does not make it safe to drink.