It’s not true in the United States. A “Dr.” remains a “Dr.” regardless of his or her specialty. If Dr. Brown goes into teaching at a medical school, he might hold the position of “professor,” but will most likely will continued to be address as “Dr. Brown.”
Additionally, at most American colleges and universities, professors are usually addressed as “Dr.” anyway.