Yes, as long as you have mobile banking you can transfer the fund to your account anywhere and you should try to do the transfer while you still in Thailand. If your mobile banking error or can't go through then go to your bank and ask them to check. I use Bangkok bank for mobile banking and always good.
You need to open Thai bank account under your name to apply for retirement visa. And the money normally need a proof transfer from overseas. Or your Thai wife can get the information at the immigration for all the documents that you need
Is this your first time in Thailand? If yes then you should try staying in different province, every province in Thailand has different culture, food and dialogue.