in most states of US, it is 30 days. The landlord must send deposit to the last know address of tenant in 30 days after move out if there are any left.
Not pay last month rent is not a good way, the landlord does not need to go court, just send report to a collection company and your credit gone.