It depends on the firm and the industry. Google, for example, visits over a hundred campuses and has both the resources and expertise to hire graduates from across the country. The same is true for large financial and consulting firms (though not necessarily the “visit hundreds of campuses” part).
Most firms, however, tend to hire the majority of their new graduates locally because they’re more familiar with nearby schools and can better gauge the quality of their students. They also often lack the resources to recruit nationally or pay for relocation. That said, if they receive strong resumes from candidates in other regions, and those candidates are willing to cover their relocation costs - I think most firms would likely be open to hiring them.