Can you have shower sex with a condom on?

If you have sex in the shower, will a condom still be an effective method of protection? Would it just slip off or would water slip into the condom or something?