Average session duration can be a factor that indicates positive UX. If people are spending quality time on your page and reading through your page copy, Google assumes those users are having a good experience and will rank your page higher in search.