Fleas most likely got into your yard by dropping off wildlife like squirrels, deer, raccoons, rabbits, chipmunks, and stray cats.
Fleas prefer cool, shady, moist areas and do not thrive in sunny areas or in open grass.