As long as you have the same type of ticket (standing / seated) as the person you want to queue with, this is ok. If one has a ticket for standing admission and one has a ticket for seated admission, you cannot use the same entrance.