I think the first sentence was meant to be "we don't like to live in this house BY ourselves", which means "we don't like to live in this house alone/without other people being present". The second sentence just means we don't like to live in the house. There's no other information offered.
"We don't like living in this house ourselves" isn't grammatically wrong, but it sounds odd in this situation, in my opinion. To do something yourself means to do something without anyone's help. Confusingly you can use "by" here as well to mean the same thing. But it doesn't work the other way around.
I hope my explanation wasn't too confusing, haha.
Did you write these sentences, or did you find them somewhere? It might be helpful to know the context, if there is any.