Complex sentence: Not all of these layers are present in every location--for instance, P horizons only form in areas which have been waterlogged for long periods of time.
Split into simpler sentences: Not all of these layers are present in every location. For instance, P horizons only form in areas which have been waterlogged for long periods of time.