During the 90 days immediately before a child who is placed in a foster home, group home, or residential care center for children and youth, in the home of a relative other than a parent, or in a supervised independent living arrangement attains 18 years of age or, if the child is placed in such a placement under an order under s. 48.355, 48.357, or 48.365 that terminates under s. 48.355 (4) (b) a