Distilled water does not conduct electricity. It is the dissolved ions in the water that allow electricity to conduct. You may be able to clean the PI to such a level that nothing dissolves into the water when it is submerged.
https://techiescientist.com/does-distilled-water-conduct-ele...