You may apply for an Out-of-State Smog Check Exemption, also known as a REG 5103. You'll need to file one each year your vehicle is out of state. Through the DMV directly, the process takes 30 days; for application receipt, approval, and processing. You may also consider using a third-party DMV registration service provider who can process everything same-day, and mail your new tags to your out-of-state address. A service fee will apply. Note, processing through the DMV will require you receive the tags at your registration address (in California) and have someone mail them out to your out of state address. Check out this link for more info...
Out of State Smog Check Exemption - DMV Vehicle Registration