Any pesticide you spray to kill spiders will be harmful (toxic!) to your snakes...they'll be breathing it in. I would advise against using such things.
I just searched for non-toxic way to kill spiders...one option that popped up is this (below): Note, I would also NOT use eucalyptus oil around snakes, but peppermint or rose oil might (???) be alright, I just don't know. I can remember many years back using a "non-toxic" spray ("safe for pets & children, safe in kitchen" etc) that had rosemary & wintergreen oils in it...but that was on ants, & they not only died, but didn't come back...they were thoroughly "offended". Vinegar is pretty irritating, but as long as it's not in the snake's cages or "too heavily used" it might be safe too?
Vinegar- Although harmless to humans, the acetic acid in vinegar is highly volatile to spiders. Mix a solution of 1 part vinegar and 1 part water. Spray on spider. Natural Scented Oils- Oils like eucalyptus oil, peppermint oil, and rose oil not only effectively kill spiders and bugs, they prevent them from returning!Jul 23, 2013
Natural Ways to Kill Spiders - 1420 WBSM
wbsm.com › natural-ways-to-kill-spiders