No you don't.. If done properly someone in the UK on a student visa can apply for FLR after they get married without leaving the country.
This explains the process for getting married
http://www.ind.homeoffice.gov.uk/vis...ateofapproval/
Then if you read the FLR application form it asks about CoA