Where is the best place to store firewood outdoors relative to your house?
Storing your firewood on an elevated rack should alleviate most insect problems.  The wood should not be in direct contact with the ground or with a structure.  Leave enough of a gap to promote air flow around the stack.

Rotate your firewood from season to season (do not stack new firewood on top of old).

If you live in a termite prone area (the southeast or California), you may want to keep your stack further away from buildings, in case they do get a hold of the wood.