No, you don’t need to live in Malta. However, you cannot spend more than 183 days a year in any other country.