One thing you should consider is the Cellular System used by the phone and the provider you want it to be your service.A GSM phone will only work for GSM provider,CDMA provider will only use CDMA phone.
T mobile is a GSM provider and hence the phone coming from Ttmobile must be GSM phone.But cricket is a provider who run their network based on CDMA system or called it CDMA provider.
Belive me,your idea,it wont work..