It depends on what you want to say. If you've given the person a strict deadline by which time they must be back, then it's "on time". If you simply mean that they can come with you if they arrive before you leave, use "in time".
If you have a question about the English language and would like to ask one of our many English teachers and language experts, please click the button below to let us know: