I pee whenever I need to. And since I'm usually naked and passing the toilet on the way to the shower, I get it over with. I've never been in the shower long enough that the urge overcame me and I have to go right there and then.
Anyone staying in the shower that long really needs to find somewhere else to play with themselves.