Can concentration be kept through dimensions?

Say you, in the middle of a battle, cast a spell such as Magnificent Mansion. You go inside and then start casting Conjure Elemental. You then order the elemental to exit the mansion and start fighting something you saw on the outside. Can you maintain concentration on the elemental if you are in a separate plane than the elemental?