Translation:Do you know where our compartment is?
Почему нельзя так: Do you know where is our compartment?
Because "... where our compartment is?" is an indirect question and its word order is different from the word order of a direct question (e.g., "Where is our compartment?").
Thank you. This information is very useful for my english!