Groudon and other legendaries

I want to catch Groudon but I dont have the pokeballs suited for catching it like heavy balls or a false swiper. Can i leave and comeback with Groudon still being here?

you can either load a back up when u were somewhere u can get balls or just throw ur bad balls at him and soft reset if u fail