Spraying outside forms a barrier to help keep the pests out. Anything dumb enough to cross it, whether coming in or out, will be contaminated and die. I know spiders will come in and out, but not sure about the crickets.
You'll still need to spray inside as well. Every crack, nook, and cranny...