The environment and antibiotic exposure are both important aspects of trying in the worldwide fight to curb the spread of drugs resistance, according to study.