If you are touching the ground the electricity could go through you to get to the ground. But you do not have to be standing directly on the ground. Even if you were standing on a ladder or climbing a tree you are still "grounded". This means the current can still go through you to get to the ground and could give you an electric shock.