It depends on which Eevee evolution you're aiming for. For Flareon, Jolteon, and Vaporeon, you need the appropriate stones, so an Exp Share won't help with those.
Umbreon and Espeon evolve based on high friendship with your Eevee, combined with the time of day—so those aren't tied to leveling location either.
However, for Leafeon and Glaceon, you need to level Eevee up near a specific location (the Moss Rock and the Ice Rock). Since an Exp Share helps your Eevee gain levels, it can indeed trigger these evolutions if Eevee levels up in the right spot. So yes—for Leafeon and Glaceon, an Exp Share works just fine.