Ozone is harmful to human, so you need to keep the house empty.
But the dog pee are probably contaminated the subfloor, not sure how effective ozone machine could be. Worth a try.