Lohan won’t be back any time soon

? Lindsay Lohan’s time in jail will be short, but her time away from the public eye will be much longer.

Sheriff’s officials say the actress will spend only about two weeks of a 90-day sentence in jail. But her brief time in an isolation cell that has housed other celebrities such as Paris Hilton and Michelle Rodriguez is just one element of a sentence that is designed to punish and rehabilitate the star.

Once Lohan is released in early August, she will be required to report to probation officials within a day. She has also been ordered to spend three months at an inpatient rehab.

That portion of her sentence won’t be trimmed like her jail stint by overcrowding and credits for good behavior.

“It’s a straight 90 days,” prosecutor Danette Meyers said Tuesday.

The result is that the “Mean Girls” and “Georgia Rules” star will be unavailable until late this year to start filming her portrayal of porn actress Linda Lovelace in a biopic.