Is it true companies prefer local graduates when hiring?

Or convenience. Any in-person recruiting or interviewing activities are more convenient for both the employer and job applicant when they are local to each other.