Is it impolite to refuse to share your umbrella with a stranger when it's raining?

You said this yesterday:

Your friends can’t invade your space, but you feel that a stranger should allow you access to their space because it’s raining.