If a judge resigns by destroying the reputation of the institution, it cannot happen: Chief Justice