This tactic may work for landlines, where prefixes are similar in particular neighborhoods (at least in the US). But for cell phones, it's actually a dead giveaway for many people. This is because prefixes are less correlated to location. For example, I have only ever known one person who had the same prefix as my cell phone. So whenever I see a matching prefix on the caller ID, I know it's a spoofed robocall.
But it's possible that these robocallers actually don't mind that people like me get wise to them in this way, because they'd rather only reach less tech-savvy targets, who don't know about caller ID spoofing.
This is like how spammers are rumored to use well-known tropes in their messages because then the only people dumb enough to respond are "qualified leads" that are more likely to fall for scams.