So the imei of my old phone would bell still have a file stating that that phone was used by me long after I sold the phone? And if so how long do they keep the info?
That, we can't answer. Although I'm pretty sure they have a record of all the phones they sold. You should directly contact them if you have any concern like that.