It’s going to vary by region, but the spiders I get in my house in England include:
House spiders (Eratigena app) - habitats include houses, but also outbuildings, wood piles, hollow trees, dense vegetation.
Crab spiders (Misumena vatia) - I sometimes find these on my houseplants; they live on flowering plants and would probably prefer to be outside.
Cellar spiders (Pholcus phalangioides) - these probably don’t do well outdoors as they are not native - originating in the tropics.
Zebra jumping spiders (Salticus scenicus) - these live on the walls outside but sometimes find their way inside. They probably don’t survive long if they get stuck INdoors.
Probably a dozen other species and maybe a few of them are only really capable of surviving inside a house, but it’s not the general case - but “Some of the spiders you put outside probably died” isn’t so clickable as “Every spider you put outside…”.
This is why you should Know Your Spiders so you can recognize the outdoor ones when you find them in your kitchen.
While I typically ignore any eight-legged crawlies on my walls, I assume that a grass spider in my kitchen isn’t having a great time of it without its giant messy web and silk tunnel. And I can’t really let that sort of spider construction occur in the pantry without a permit (…from my wife)
I usually tolerate spiders if they keep their distance, as they are beneficial to flying pests.
One time (USA) I saw this gold thing that had 15 pairs up legs swishing its way up the wall. I grabbed a small USPS box and trapped it, then slid a manila envelope between the box and the wall to make a top and let that thing outside and it swished its way directly away from the house.
Back to my computer, I identified it as a House Centipede which are very beneficial in killing other crawling pests like cockroaches, silverfish. Still, there was a lot of “nope, nope!” in my initial reaction.
In the UK, there was one year where every summer night fire-brats (close relative of silverfish) would enter the house and crawl all over. I’d find where they clustered during the day, like under doormats, bucket them and dump them at least 100 feet away. Same number every night would return. The best stuff to block them was Diatomaceous earth, which at their size is like crawling through a field of barbed wire. That helped, yet you can’t put it on walls so they’d go that way. Borax (Boric Acid) for that. Still some would make it in the house. We’d sweep them into a pan and toss them far enough away. Fewer and fewer and eventually they disappeared.
I was ready for them the next year, yet they must have found another home. I don’t care if they all died or only emerge every few years like Cicada’s. We’re out of that house after two more summers of no brats.
In SoFL we often see reddish brown centipedes (millipedes?) indoors. 1 to 1-1/4" long, not even 1/8" diameter body. Insane numbers of legs.
They seem to die indoors more than they thrive. I see 20 dessicated curled-up corpses per live mover inside. And the opposite outside.
They’re actually fun to watch moving, with their waves of synchronized legs moving forward on their body (visually backwards) as they propel themselves forward.
Damned good thing they’re not the size of pythons; that’d be nightmare fuel.