I was taught to never have a drink near a keyboard, I never do.
What happens do you get a shock?
That is a good practice. However, for me while I am at work the coffee pot is too far away. Sometimes the keys work or give out different symbols or letters. Eventually the keyboard doesn’t work.