L1b To H1B conversion

Dear Sir,

I had my L1B visa extension rejected last year and I came to India in Sep 2017. Now I am raising H1B 2019 cap, since the petition will be effective from Oct1st 2018 only if it gets through lottery, will my clock get reset since I would have spent 1 year outside of US by the time petition becomes effective. Or should the 1 year be completed by April before the application is submitted.