Can you buy a home while separated?

Editor