Of course you should pay for the guidance of an attorney.
The following is not legal advise.
You must refer to the rules of that community.
In most instances you can resell immediately.
However, occupancy is an entirely different issue.
Buying at auction means you could be exposed to other expensive issues.
Your really, really, really, really need to read the 'assurances' regarding the property provided to you by the auction company. Make sure 'clear title' really means CLEAR TITLE.
Now it the time to call upon the professionals to make available the information you REALLY need.