The judges were made before the post apocalypse and put in place to protect the law and fight in future battles. Dredd could simply be a graduate from the judges who was indoctornated into crime fighting by the chief judge instead of everyday judge duties. If not that then the judges could have disbanded earlier and Dredd just continued the studies solely.