Judge grants woman order barring spouse from their home