If the hack you use gets detected yes (and they all eventually do). If you decide to pay for a private hack with regular updates it might take a little longer. You can also avoid the Vac ban for some time by protecting your hacks with The Enigma Protector or some hash changer.