Do I have to live in the property?

No, you can assume the loan as a non-occupant (investor). The terms of the mortgage are fixed, so you wont pay any more buying as an investor than you would as an occupant.