Chiang Mai is about 1540 Km away from Phuket. Chiang Mai is located in the northern part of Thailand while Phuket occupies the south end of the country. Also there is no direct train from Chiang Mai to Phuket. You will have to reach Surat Thani and then connect to Phuket.