A new study suggests that married people or the ones who live with their partners may have a lower risk of developing type 2 diabetes.