In Australia, the maximum penalty for murder is a life sentence with no parole granted until 20 years, 25 if the victim was a child under 18 years of age, has been served.
It depends on the locality, and the exact circumstances (there are a couple of different degrees of murder). You might stay in jail anywhere from just a few years to the rest of your life.