Question: why is udina councilor in me3?
Answer: He stepped down as councilor and returned to the military to prepare for the Reaper invasion. The Alliance Parliament named Donnel Udina as his successor. The events mentioned in the codex take place in the book Mass Effect:Retribution. ... You therefore rightly find him in military uniform in Mass Effect 3.