Yes, you can stay in Italy after graduation once you become a resident. So, it all depends on your visa. A letter of qualification will be issued by your university, which is a letter that states you have achieved your degree and can apply for a proper visa. This is a special permit that allows you to stay in Italy and find work.