“Is there a law that says a company must wait 7 years or apartment complex must wait 10 years before hiring or allowing someone a place to live? ”
No. There may be a law or regulation specifying that a government employer cannot hire an ex-felon until some period of time has passed, but a private employer generally is not subject to any law like that and could hire an ex-felon the day he gets released from prison if it chose to do so. That said, of course many employers won’t hire someone who is just released, they will want to at least see some period of crime-free life before taking the risk of hiring an ex-con. It is up to the employer to decide what policy it will use in considering ex-cons for employment.
Similarly, there may be restrictions for certain government housing, but in general a private landlord can lease to whomever it chooses. Again, it is basically up to the landlord to decide what policy to follow. There are problems for landlords who have tenants engaged in criminal activity, so they try to be careful to avoid leasing to someone who might use the apartment for criminal activity. If your husband had been convicted of a sex offense for which registration was required, that raises a whole new set of complex issues and would make it even harder to find a place to rent. Fortunately for him, he’s not in that situation.