State tax filing

I had a question a long the same lines. I'm a teacher on a J1 visa, I arrived in August 2018. I have 3 children and I am married. It makes financial sense for me to actually be taxed as a resident alien for deductions. Am I allowed to "opt in" to be a resident alien or do I just have to wait until my 3rd calendar year?