Some dioceses will accept candidates from outside of the diocese but not all. Some dioceses view this as vocational poaching and do not like to do this without consultation with the diocese where the candidate lives.
I ran into this in my discernment.