Sure it does.
Not direct, most airliners will not care where you conducted your training.
However, if you did it in "bad" school with "bad" instructors, you will have hard time to pass tests or sim-checks when applying for job.
And ofcourse, even those "good" schools cost a bit more, most likely you will need to do less flight hours (good instuctors --> good progression) and you will not have to redo you check-rides.