A new study found that people with a history of drug dependence are much less likely to have flourishing mental health and are more likely to have mental illness.