I would recommend that you figure out what your buying power would be, in anticipation of raising your score. You may even be able to buy now, depending on your price range. There are still some lenders that will lend at a 580 credit score at reasonable rates with low downpayment, but they are rapidly disappearing. Either way, how much of a mortgage ypou will qualify for determines your buying power which narrows down the neighborhoods you would search in.
Also, with your score, I would recommend that you use a professional service to help you improve your score. There are some that are reputable and do NOT charge a big upfront fee, but instead will charge a low monthly fee, with the ability to discontinue the service after you accomplish your goal. I've recommended http://www.veracitycredit.com to several people, they are very reputable and seem to do a good job. And, no, I am not affiliated with them in any way. They just seem to be a very good service that can get the job done, especially if you have maintained good credit for the past 2 years. Good luck!