Is working from home good for your mental health? If so, how many days a week are best? A new study has some answers.