Yes, provided you have informed the authorities of your move and given updated contact details, you will continue to have the right to vote in UK elections. However, you must join the electoral roll for the constituency you last lived in.