How soon after Chapter 7 bankruptcy can you have the title to a house or condo given to you?

Why should you get the title? If the debt is secured by the condo or house, you cannot get a discharge of that debt unless you surrender the asset in the chapter 7.