To avoid further confusion, please make thing clear:
- You move to US in 2014, so that means you getting 2 year GC?
-You receive permanent GC in 2017, so that means you file for I-751 and getting 10 year?
- You divorce in 2018 and file for N400 in 2019, so what's the basic you apply for (under 3 year or 5 ?)
If it's under 3 year, it will denied since you're no longer married.
Solution: New N400 and wait.