Investigation of Z-pinch instability development in the non-ideal MHD regime