This can be a misleading or complex question. You have to check state by state on the laws, but most states will tax you on your worldwide income (CA does). In other words, it doesn't matter what state the investment itself is in for CA purposes, as they would still tax you on capital gain invested in an OZ if you are a CA resident that files a CA resident tax return.