I have heard that universities tend not to hire people who earned their PhD there for professorships (tenured or not). (I've read this question, but it's about postdocs: Is it normal that research institutes do not hire their own PhDs for postdoc positions?)
If one graduated from a university, and then did a few turns as a postdoc or non-tenured professor, would a university/department still be disinclined to hire them 10 years post-graduation?
I know there's a lot of factors that go into hiring professors, as well as many reasons to go to different universities/institutes (addressed in the linked question), so I'm mostly curious about this specific truism I've heard.
Although I live in the U.S., I'm curious about North American and European practices (so as not to invalidate answers already given).