The length of time the court will require you to carry SR22 insurance depends on what you were convicted of. Most DUI or No-Insurance infractions require a mandatory period of three years. The three-year clock starts ticking the moment the Oregon DMV receives instructions from the court where you were convicted and enters the data into the system. I usually count three years forward from the date a judge declares your conviction, then add a month. That's about how long it takes for the paperwork to get from the court to the DMV, depending on how backlogged either might be.
The time might be shortened due to your successful completion of a diversion program, at which point the judge may instruct the DMV to withdraw the SR22 requirement. I've seen the DMV impose a one-month to a one-year suspension of a driver's license and driving privileges because the driver acquired three or more tickets within a specified period. During that suspension, the operator must apply for a Hardship Permit, which would allow them to drive from home to work. This permit requires an SR22 filing and will last up until the end of the suspension period.
In any case, it will be up to you to know when that SR22 requirement has been fulfilled. Unfortunately, the DMV does not share that exact date with us. You can determine what the Proof Required Until (PRU) date is by calling the Oregon DMV at 503-299-9999.