Is the association aware that your property is in foreclosure and you will be moving out at the end of the redemption period?
As I recall, under state law the bank that takes possession after foreclosure is obligated to pay 6 months of past due association dues. But you may be liable for any that are not covered under that law. It would depend on your association documents.
First step is to talk to the management company regarding your foreclosure. If they intend to pursue you for HOA fees, then you should talk to an attorney.