How can I create segment by time spent on a particular page?

How can I create segment by time spent on a particular page?

I think you wanted to ask - " How can I segment by time spent on pages?" and not on a particular page. Segmenting on a particular page will give the average time spent on it.

This is similar to segmenting on visit duration to display all visits falling under that duration.
Currently, I don’t think it is available, you will have to custom write one or leave a note in the feature request section

I want to create a segment by time spent on a particular page. For example, “users who spent more than 100 seconds on home page”.

it is unfortunately not possible yet, but please create a feature request on our tracker @ Issues · matomo-org/piwik · GitHub