Answer
No, Martin Rees has never served as a Member of the Parliament. He is a British astrophysicist and mathematician, and was the Astronomer Royal for Scotland from 1995 to 2002. He has also served as President of the Royal Society, and is a Fellow of the Royal Society of Edinburgh.