The Staffordshire doctor cleared of involvement in the London and Glasgow car bomb plots has been granted bail at an immigration hearing and will live in Birmingham.
Mohammed Asha, a neurologist at University Hospital of North Staffordshire, will be released from Long Lartin prison ahead of an appeal hearing to decide if he should be deported to Jordan.
A three-man panel at the Special Immigration Appeals Commission rejected Home Office claims that Dr Asha presented a threat to national security.
Panel chairman Mr Justice Mitting said Dr Asha would have to live at an address in Birmingham and report to a police station every week, but did not impose a curfew or electronic tagging order and said he should be free to return to work.
Speaking via video-link from prison, Dr Asha thanked the panel and asked for his hearing to be scheduled soon.
Following a trial at Woolwich Crown Court, Iraqi doctor Bilal Abdulla was sentenced to at least 32 years in prison.
The court found that he and his co-conspirator, Kafeel Ahmed, plotted to kill hundreds of people by planting two bombs in the West End in June 2007. When that failed, they drove a Jeep packed with petrol bombs and gas canisters into a terminal building at Glasgow Airport.
Dr Asha was accused of conspiracy to murder and conspiracy to cause explosions but was cleared by the jury.