If you are applying for in-country Non-O based on retirement, be sure your funds in Thailand were internationally transferred (as long as the bank can trackback, regardless of how many years passed)
Here is general requirements for Non-O retirement when you are applying inside Thailand.
****************************