its depends on what written in your contract. i think it is generally one month notice period.
better resign after one year completion, at least you will get gratituity