The Coronation Street star's exit is two years in the making