Miley Cyrus wants to "make sobriety a long-term lifestyle" and friends say it has helped to strengthen her relationship with Cody Simpson.