You can spin for artificial gravity out in space though, which would be relatively simple to do provided you had any sort of space manufacturing capabilities.
It's not actually simple at all. You need a massive station to actually spin in such a way that humans don't get dizzy just by crouching (you need the acceleration to be almost constant for the ~1.5m difference between a person lying down and a person standing up). You also require lots of fuel to actually maintain this constant acceleration. The larger everything is, the more problems you have with shielding and energy expenditure. Any malfunction of the spinning mechanism is likely to be catastrophic, as suddenly losing 'gravity' is can easily cause massive damage if people are living without care for this constant possibility.
Not to mention, this would not feel like living on Earth - there are many effects of spinning that do not approximate gravity well, such as the fact that forces acting on you depend on the direction of your movement relative to the direction of spin.
Not to mention, this would not feel like living on Earth - there are many effects of spinning that do not approximate gravity well, such as the fact that forces acting on you depend on the direction of your movement relative to the direction of spin.