Yes. How would it work otherwise? You queue as a certain role/job, so why should it give you Dungeons that job can't enter?