i don't want to say that it's wrong, exactly, but that doesn't mean it's permissible, either. you want to avoid doing this. and, if you must, you should really clean the area asap.
personally, i always habitually pee before i enter the shower. even if it's just a little one.