Definitely second Bartleby, especially the later point! As a resident and medical student, I’ve had a ton of great teachers who ended up doing really well in academics after having had careers in private practice or trained at community-based programs. I think it shows how there’s a lot of flexibility in psychiatry! If you’re interested in being a program director or other leadership roles in education (outside of just title changes in academia), I’m not sure if coming from an academic residency would be more helpful, although in the other hand, there are also (obviously) great and dedicated educators at community based programs too, and I know a handful of programs where their educators didn’t come out from academic programs as well.
I guess one other thing to consider is if a program will have medical students that you can work with as a resident, if that is something that you’re interested in the future.