You can remember the meaning of 空间 with this easy mnemonic:
The empty (空) space between (间) our two houses can be reconstructed into a nice garden for our kids to play in.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.