You would need to investigate the soil you put the wood in, in order to select the correct wood and wood treatment. The wrong kind of wood in certain soils can be broken down in weeks to months. Getting wood to last years is tricky and depending on the soil could even be impossible.