There are no restrictions on your actions before you file for bankruptcy. However, it is generally recommended to consult with a bankruptcy attorney prior to selling any property to make sure it will not negatively impact your case in any way.