Per the product manufacturer of the Just One Bite EX Bait Stations, you would need to remove all the soil around the holes that were treated with the product. Unfortunately, there is no definitive amount of time the active ingredient would stay in the soil itself. Therefore, to make your gardening safe going forward, you would want to get that soil out of the raised beds in order to harvest anything grown in them.