Absolutely, yes! Because water itself exhibits electrical charges with two hydrogen atoms and a single oxygen atom. However, hydrogen atoms encompass positive charge, and oxygen atom contains negative charge on them. As water is in a liquid state, there is a free flow of electrical charges, which eventually affects the static electricity produced.