went back a few times and keep my residency and driver's license active.
I'm not sure what you mean by this. You're clearly not a resident of Florida and haven't been for several years. I don't imagine you actually have to be physically present to renew your driver's license, but, in any case, having a driver's license doesn't make you a resident.
Could I still file for bankruptcy?
Sure you can. Anyone can file for bankruptcy, but I doubt that's really what you intended to ask.
My guess is that you intended to ask if it would be appropriate for you to do so in Florida. In that regard, the basic BK venue rule is that a BK case "may be commenced in the district court for the district . . . in which the domicile, residence, principal place of business in the United States, or principal assets in the United States, of the person or entity that is the subject of such case have been located for the one hundred and eighty days immediately preceding such commencement, or for a longer portion of such one-hundred-and-eighty-day period than the domicile, residence, or principal place of business, in the United States, or principal assets in the United States, of such person were located in any other district." 28 U.S.C. section 1408.
The better question is whether you really need to given that it sounds like you want to walk away from your condo.