Both attorneys are correct. Legally, you're entitled to any excess funds paid by a buyer after a foreclosure sale. However as a practical matter, the bank is usually the high bidder and it need only bid the amount of its loan, which is inevitably equal to or greater than the value of the property. Consequently there are no excess funds to distribute.
If for some reason your property were bid sky high by various buyers, then that would leave excess funds to return to you. But, it's extremely unlikely, because buyers rarely bid more than fair market value, unless the property has some unique attributes that make it unusually valuable (e.g., ocean view, famous architect designer, famous celebrity lived in the property, historic landmark, etc.).
Concerning the threat of eviction, it's very rare for the bank to proceed to evict an owner, if the move-out occurs only a few days late, because the cost of legal action is more than the cost of waiting a few days. So, I wouldn't be too worried about this, as long as you assure the bank that you will be out soon.
I hope I've answered your question. Please let me know if you require further clarification. And, please provide a positive feedback rating for my answer -- otherwise, I receive nothing for my efforts in your behalf.
Thanks again for using Justanswer!