Ordinarily there is no time period for one to file for bankruptcy protection after one has purchased a home. I suggest that if you are in such a situation that you consult with a bankruptcy attorney to assist you in your matter.