Can my friends dog and my dog share the same room?

No. Reasoning by this is past experiences allowing people to do this. If the dogs do not sleep in the same home together they can not share a room. They will see each during play time. If your 2 dogs can not sleep in a crate together they should not share the same room.