I was reading just the other day about carpenter ants. Stray carpenter ants can't make a colony without a queen and the queen is very unlikely to be found in firewood.
There's one you don't have to worry about.
From the really unlikely department regarding carpenter ants:
I reuse some old lidded plastic trash cans for storing scraps left over when cutting logs to size for my stove opening. One of them must have had tiny hole in the plastic, near the lid band, seemingly chewed through by the ants.
So it's pretty dry in there, and I was shocked after a full summer (mostly lidded) to open the can and find it swarming with carpenter ants that made a nest among the end-cut scraps!
To get rid of the ants and not lose the dried scraps, I banged each piece into a five-gallon trash can to knock them out of the wood (easy to do; these were small chunks), put the scraps in another clean (old) trash can, hit the trapped ants with some carpenter ant dust I have, covered the lid, and then left it for a week. Dumped the dead contents into a ziploc bag and disposed of with the trash.
Never in a million years would I have guessed a colony of carpenter ants would be interested in building a nest in such a small confined area, and among such small pieces of end-cut scrap wood.