A lot of the time spam calls might look like they're a local number, but they're just manipulating caller ID. Often the actual call can originate anywhere on the planet and look like a local number to you.
Up until very recently, caller ID was stupid easy to spoof if the originating phone company didn't care.