People get hit by lighting in only one way, they are outside of a building or vehicle during a thunderstorm. Even then most people outside are not hit, fools luck I guess.
Of the people struck and killed so far in 2014 this is what they were doing:
standing in backyard by tree
closing car windows
fishing at edge of lake
riding motorcycle on the highway
doing roofing at car dealership
picking blueberries
in park under a tree
on roadway fixing windshield wiper
under a tree while walking home
hiking on exposed trail
horseback riding on family property
sightseeing at parking area of overlook
If you are inside a building or vehicle it is recommended that the windows are kept closed.
In the USA you are at far more risk of dying from food poisoning than from being struck by lightning.