How long will monarchs stay in my garden after I release them?

While there is no research on this that I'm aware of, I'm sure it depends on several factors including time of season, weather patterns, and milkweed and nectar availability.