If you are living in the apartment , you owe rent to someone.  Until served with a court order, you still owe the LL.  You can check the status of a foreclosure with the County Clerk.